home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / Demos_Files / Kohonen_Feature_Maps / Noise.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  2.0 KB  |  53 lines

  1. subtitleTextBox. setText ("")
  2. mainTextBox. setText ("")
  3.  
  4. activeBreadboard. setAnimatePoint ( 20 , 210 )
  5. activeBreadboard. stampAndMove ( "Axon" , "inputAxon" )
  6. inputAxon. setRows ( 2 )
  7.  
  8. activeBreadboard. stampOnAndMove ( "Function" , "inputAxon" )
  9. function. setBroadcast ( FALSE )
  10. function. setActiveChannel ( 1 )
  11. function. setPhaseShift ( 90.000000 )
  12.  
  13. activeBreadboard. stampOnAndMove ( "Noise" , "function" )
  14. activeBreadboard. stampOnAndMove ( "ArrowEngine" , "noise" )
  15.  
  16. activeBreadboard. setAnimatePoint ( 15 , 185 )
  17. activeBreadboard. stampAndMove ( "StaticControl" , "control" )
  18.  
  19. activeBreadboard. stampOnAndMove ( "DataStorage" , "inputAxon" )
  20. activeBreadboard. select ( "dataStorage" , FALSE )
  21. dataStorage. setBufferLength ( 8 )
  22. dataStorage. setMessageEvery ( 8 )
  23.  
  24. activeBreadboard. stampOnAndMove ( "ScatterPlot" , "dataStorage" )
  25. scatterPlot. setName ( "activeInputProbe" )
  26. activeInputProbe. setXMinScale ( -1.500000 )
  27. activeInputProbe. setXMaxScale ( 1.500000 )
  28. activeInputProbe. setYMinScale ( -1.500000 )
  29. activeInputProbe. setYMaxScale ( 1.500000 )
  30. activeInputProbe. tileWindow (1,4,3,3)
  31.  
  32. activeBreadboard. lockWindowUpdate()
  33. CreateLargeButtonMacroPath = macro. pathFromNS ( "Macros\create large button.nsm" )
  34. activeBreadboard. runMacro ( CreateLargeButtonMacroPath )
  35. controlButton. setText ( "Step Epoch" )
  36. controlButton. moveTo ( 630 , 55 )
  37. ControlMacroPath = macro. pathFromNS ( "Macros\stepEpoch.nsm" )
  38. controlButton. setMacroPath ( ControlMacroPath )
  39. activeBreadboard. unlockWindowUpdate()
  40.  
  41. activeBreadboard. select ( NULL , FALSE )
  42.  
  43. control. setExemplars ( 8 )
  44. control. setEpochs ( 500 )
  45. noise. setStreamOn ( FALSE )
  46. control. stepEpoch (  )
  47. noise. setStreamOn ( TRUE )
  48.  
  49. NextMacroPath = macro. pathFromMacro ( "Self organizing feature map.nsm" )
  50. nextButton. setMacroPath ( NextMacroPath )
  51. SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, SubtitleIndex)
  52. MainIndex = mainTextBox. setTextFromFile (TextBoxPath, MainIndex)
  53.